home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Brotikasten
/
BROTCD01.iso
/
geos
/
geos2.d64
/
sOFT cOPY v1
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-08-05
|
3KB
|
87 lines
10 REM GEOS HARDCOPY AUF DISK
12 OPEN1,8,15,"I:0"
14 RESTORE
18 FORI=1TO573
20 READ A:S=S+A
22 PRINTCHR$(19);573-I;CHR$(157);" ";
24 NEXT:RESTORE
26 IFS<>59544THENPRINT"FEHLER IN DEN DATAS !":STOP
30 F$="HARDCOPY V1.3"
32 OPEN2,8,2,F$+",U,W":GOSUB104
34 FORI=1TO460:READA
36 PRINT#2,CHR$(A);:NEXT:GOSUB104
38 CLOSE2
42 A=1:B=0
44 T=A:S=B:PRINT#1,"B-A:0";T;S
46 INPUT#1,N,T$,A,B:IFA=18THENA=19:B=0
48 IFN>0THEN44
50 OPEN3,8,3,"#0":PRINT#3
52 PRINT#1,"U1";3;0;T;S
54 FORI=1TO113:READB:PRINT#3,CHR$(B);:NEXT
56 FORI=1TO141
58 PRINT#3,CHR$(0);
60 NEXT
62 PRINT#1,"U2";3;0;T;S
68 PRINT#3
70 A$=CHR$(18):B$=CHR$(1)
72 A=ASC(A$):B=ASC(B$):PRINT#1,"U1";3;0;A;B
74 GET#3,A$,B$
76 FORI=0TO7
78 PRINT#1,"B-P";3;I*32+5
80 FORJ=1TOLEN(F$)
82 GET#3,W$:IFW$<>MID$(F$,J,1)THENK=0:GOTO86
84 K=K+1
86 NEXTJ
88 IFK=LEN(F$)THEN92
90 NEXTI:GOSUB104:GOTO72
92 PRINT#1,"B-P";3;I*32+21
94 PRINT#3,CHR$(T)CHR$(S)CHR$(0)CHR$(5);
96 PRINT#3,CHR$(88)CHR$(4)CHR$(5)CHR$(20)CHR$(11)CHR$(2);
98 PRINT#1,"U2";3;0;A;B
100 CLOSE1:PRINT"O.K.":END
104 INPUT#1,N,T$:IFNTHENPRINT"ERROR: ";T$:STOP
106 RETURN
110 DATA162,255,160,143,134,4,132,5,162,79,160,80,134,2,132
112 DATA3,230,4,208,4,230,5,240,44,169,7,162,2,160,4,32,110
114 DATA194,208,237,166,4,164,5,142,250,255,140,251,255,162
116 DATA86,160,80,134,2,132,3,162,118,160,1,134,6,132,7,32
118 DATA126,193,169,0,133,128,162,62,160,194,142,155,132,140
120 DATA156,132,96,132,115,132,116,200,132,113,72,165,128
122 DATA208,80,169,255,133,128,152,72,165,2,72,165,3,72,173
124 DATA250,255,24,105,87,133,2,173,251,255,105,0,133,3,160
126 DATA3,173,155,132,145,2,200,173,156,132,145,2,200,173
128 DATA254,159,145,2,200,173,255,159,145,2,169,0,141,254
130 DATA159,169,32,141,255,159,165,2,141,155,132,165,3,141
132 DATA156,132,104,133,3,104,133,2,104,168,104,64,24,144
134 DATA101,0,0,0,0,67,79,80,89,32,88,88,45,88,88,45,88,88
136 DATA0,3,21,191,255,255,255,128,0,1,128,0,1,128,0,1,146
138 DATA103,49,146,148,169,158,247,41,146,148,169,146,148
140 DATA177,128,0,1,128,0,1,128,0,1,140,206,73,145,41,73,145
142 DATA46,49,145,40,33,140,200,65,128,0,1,128,0,1,128,0,1
144 DATA255,255,255,130,3,0,254,159,64,191,0,0,72,97,114,100
146 DATA99,111,112,121,32,161,194,173,155,132,24,105,12,133
148 DATA2,173,156,132,105,0,133,3,248,160,0,185,25,133,170
150 DATA169,0,24,202,48,4,105,1,208,249,170,152,72,160,7,145
152 DATA2,10,113,2,168,138,74,74,74,74,9,48,145,2,138,41,15
154 DATA9,48,200,145,2,104,168,200,192,3,208,207,216,173,155
156 DATA132,24,105,21,133,2,173,156,132,105,0,133,3,162,2
158 DATA160,129,134,4,132,5,162,83,160,0,134,6,132,7,32,126
160 DATA193,173,155,132,24,105,7,141,0,129,173,156,132,105
162 DATA0,141,1,129,32,180,193,171,0,85,129,0,169,0,133,22
164 DATA162,129,133,20,134,21,32,237,193,174,155,132,172,156
166 DATA132,134,2,132,3,160,3,177,2,141,155,132,200,177,2
168 DATA141,156,132,200,177,2,141,254,159,200,177,2,141,255
170 DATA159,169,0,133,128,96
178 DATA0,255,3,21,191,0,28,0,56,61,0,68,66,128,142,153,120
180 DATA143,0,244,144,28,12,144,62,12,144,67,12,144,153,12
182 DATA144,137,12,144,129,12,144,66,12,144,60,12,144,0,12
184 DATA143,255,240,192,60,0,112,126,0,120,207,0,121,137,128
186 DATA51,8,192,6,8,96,130,5,0,0,80,204,81,0,80,72,97,114
188 DATA100,99,111,112,121,32,32,32,32,86,49,46,51,0,0,0,0
190 DATA210,85,69,68,73,71,69,82,32,203,69,82,75,76,79,72
300 RESTORE
310 READA
320 PRINTA
330 GETS$:IFS$=""THEN330
340 GOTO310